package com.ls.controller.booking.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @ClassName BookingInfoVo
 * @Description 预定信息在app上显示的vo
 * @Author pengyu
 * @Date 2024/7/25 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class BookingInfoVo {
    private Long linkmanId;
    private String linkmanName;
    private String linkmanPhone;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDate linkmanBirthday;
    private String content;
    @TableField(exist = false)
    private Integer bookingNum;
    @TableField(exist = false)
    /**取消次数*/
    private Integer cancelNum;
    private Long bookingId;
}
